package com.aaa.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "car-member")
public interface MemberFeign {
    @RequestMapping("/member/updateAmount")
    Integer updateAmount(@RequestParam("id") Integer id,@RequestParam("accountBalance") Double accountBalance);

    @RequestMapping("/member/updateState")
    Integer updateState(@RequestParam("id") Integer id,@RequestParam("date")String date);
}
